package com.xingkeduo.utils;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

@Data
public class PageRequestDTO<T> {
    private Integer pageNo = 0;
    private Integer pageSize = 10;


    public IPage getPageObject(){
        return new Page<T>(this.pageNo, this.pageSize);
    }

}
